import { IPSSystemDBConfig } from './ipssystem-dbconfig';
import { PSModelObjectImpl } from '../psmodel-object-impl';

export class PSSystemDBConfigImpl extends PSModelObjectImpl implements IPSSystemDBConfig {
  get codeName(): string {
    return this.M.codeName;
  }

  get dBType(): 'DB2' | 'MySQL5' | 'MYSQL5' | 'Oracle' | 'ORACLE' | 'SqlServer' | 'SQLSERVER' | 'POSTGRESQL' | 'PostgreSQL' | 'PPAS' | 'SQLITE' | 'DM' | 'HANA' {
    return this.M.dBType;
  }

  get dynaModelFilePath(): string {
    return this.M.dynaModelFilePath;
  }

  get memo(): string {
    return this.M.memo;
  }

  get name(): string {
    return this.M.name;
  }

  get nullValueOrderMode(): 'FIRST' | 'LAST' {
    return this.M.nullValueOrderMode;
  }

  get objNameCase(): 'DEFAULT' | 'UCASE' | 'LCASE' {
    return this.M.objNameCase;
  }

  get userCat(): string {
    return this.M.userCat;
  }

  get userTag(): string {
    return this.M.userTag;
  }

  get userTag2(): string {
    return this.M.userTag2;
  }

  get userTag3(): string {
    return this.M.userTag3;
  }

  get userTag4(): string {
    return this.M.userTag4;
  }

  get defaultMode(): boolean {
    return this.M.defaultMode;
  }

  get pubFKey(): boolean {
    return this.M.pubFKey;
  }

  get pubIndex(): boolean {
    return this.M.pubIndex;
  }

  get pubModel(): boolean {
    return this.M.pubModel;
  }

  get pubModelComment(): boolean {
    return this.M.pubModelComment;
  }

  get pubView(): boolean {
    return this.M.pubView;
  }

  get cls(): string {
    return 'PSSystemDBConfigImpl';
  }

  instanceof(cls: string): boolean {
    if (cls == 'database.IPSSystemDBConfig') return true;
    return super.instanceof(cls);
  }
}
